<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Logout extends CI_Controller {
	function index()
	{
		$this->session->unset_userdata('login');
		$this->session->unset_userdata('logged');
		$this->session->sess_destroy();
		redirect('signup');
	}
}		
?>